package com.yyh.photo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yyh.photo.common.BaseDomain;
import com.yyh.photo.entity.CommodityFileEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 *  Domain
 * 
 * @author jxjk.safe

 * @date 2023-06-07 17:15:10
 */
@Data
@ApiModel(value="CommodityDomain对象", description="")
public class CommodityDomain extends BaseDomain implements Serializable {

	private static final long serialVersionUID = 1L;

	/*** 主键 ***/
	@ApiModelProperty(value = "主键")
	private Integer id;
	/*** 描述 ***/
	@ApiModelProperty(value = "描述")
	private String commodityDec;
	/*** 商品排序 ***/
	@ApiModelProperty(value = "商品排序")
	private String commoditySort;
	/***  ***/
	@ApiModelProperty(value = "")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createDate;
	/***  1 上架 2 下架 ***/
	@ApiModelProperty(value = " 1 上架 2 下架")
	private Integer commodityStatus;
	/*** 删除标记 ***/
	@ApiModelProperty(value = "删除标记")
	private Integer isDel;
	@ApiModelProperty(value = "用户昵称")
	private String userName;
	@ApiModelProperty(value = "微信唯一标记")
	private String wxId;
	@ApiModelProperty(value = "头像照片")
	private String headImg;
	@ApiModelProperty(value = "照片列表")
	private List<CommodityFileEntity> fileList;

	

}
